<div class="sectionHeader">
    <hr>
    <button type="button" onclick="takeout.del('${ctxPath!}/banner/del',1, '')" class="btn btn-info mainButtonRight">全部删除</button>
    <button type="button" class="btn btn-info mainButtonRight"><a href="javascript:takeout.openEdit('${ctxPath!}/banner/edit', null);" class="mianAcolor">+ 新增</a></button>
</div>
<form id="queryForm" action="${ctxPath!}/banner/list" method="POST">
    <div class="sectionForm">
        <!--
        <div class="form-inline">
            <div class="sectionFormFirstRow">
                <div class="form-group sectionFormLabel">
                    <label class="mainColor">组:</label>
                    <input type="text" name="group" class="form-control" id="peopleName" required="" placeholder="请输入组">
                </div>
                <div class="form-group sectionFormLabel">
                    <label class="mainColor">显示:</label>
                    <input type="tel" name="value" class="form-control" id="mainPhone" required="" placeholder="请输入显示">
                </div>
                <button type="button" onclick="takeout.ajaxFormMainPanel('queryForm')" class="btn btn-info" style="width:90px;">查询</button>
            </div>
        </div>
    -->
    </div>
    <div class="sectionFormContent">
        <div class="sectionFormHeadline">
        </div>
        <hr>
        <table class="table table-bordered table-hover">
            <thead>
            <tr>
                <th style="width: 50px;" ><a href="javascript:takeout.selectAll();">全选</a></th>
                <th>标题</th>
                <th>是否显示</th>
                <!--<th>打开类型</th>-->
                <th>图片地址</th>
                <th style="width: 70px;">操作</th>
            </tr>
            </thead>
            <% for(adv in data.list){ %>
            <tr class="a">
                <td style="width: 50px;text-align:center"><input class="a" type="checkbox" value="${adv.id}" /></td>
                <td>${adv.title}</td>
                <td>${dictFunc('show_hidden', adv.status!"1")}</td>
                <!--<td>${dictFunc('banner_type', adv.type!"1")}</td>-->
                <td>${adv.img!"无"}</td>
                <td style="width: 70px;">
                    <a id="a" href="javascript:takeout.openEdit('${ctxPath!}/banner/edit?id=${adv.id}', null)">修改</a>
                    <a class="a" href="javascript:takeout.del('${ctxPath!}/banner/del' ,0, '${adv.id}')">删除</a>
                </td>
            </tr>
            <%}%>

        </table>
        <div id="splitPageDiv" class="splitPage">
            <% include("../common/comm_page.html", {"divId" : "manage_content", "formId" : "queryForm", "splitPageDiv" : "splitPageDiv"}){} %>
        </div>
    </div>
</form>